import React from 'react'

interface GiftPanelProps {
  roomId: string
}

const GiftPanel: React.FC<GiftPanelProps> = ({ roomId }) => {
  // 确保所有代码路径都有返回值
  if (!roomId) {
    return <div>房间ID无效</div>
  }

  return (
    <div className="gift-panel">
      {/* 礼物界面实现 */}
      <div>礼物面板内容</div>
    </div>
  )
}

export default GiftPanel
